Micron Document
Fox's Git Mirrors


Commit ccfda5f8470eada695101b43bd0df9437e4481f4


Parents : 8d0eb4c
Author : Devansh Varshney (देवांश वार्ष्णेय) <varshney.devansh614@gmail.com>
Signature : Signature validation error
Date : 2026-06-10T04:37:16+05:30
Committer : GitHub <noreply@github.com>
Date : 2026-06-09T16:07:16-07:00

cppcheck: replace bool 0 assignment with false (#3444)

Changes

1 files changed, 1 insertions(+), 1 deletions(-)


Diff

diff --git a/opendbc/safety/modes/toyota.h b/opendbc/safety/modes/toyota.h
index d4b374c8..e98abf51 100644
--- a/opendbc/safety/modes/toyota.h
+++ b/opendbc/safety/modes/toyota.h
@@ -345,7 +345,7 @@ static bool toyota_tx_hook(const CANPacket_t *msg) {
// this address is sub-addressed. only allow tester present to radar (0xF)
bool invalid_uds_msg = (GET_BYTES(msg, 0, 4) != 0x003E020FU) || (GET_BYTES(msg, 4, 4) != 0x0U);
if (invalid_uds_msg) {
- tx = 0;
+ tx = false;
}
}

Served by rngit 1.5.2 - Generated in 0.04s